package Models;

import java.io.Serializable;

public class FGIView implements Serializable {
	private static final long serialVersionUID = 1L;
	
    private int fgiID;
    private String fgiDescription;
    private BeerView beer;
    private PackageType packageType;
    private long fgiQtyOnHand;
    private long version;
    private double servingVesselVolume;
    private int pendingQty;
    private double fgiPrice;
    
	public int getFgiID() {
		return fgiID;
	}
	public void setFgiID(int fgiID) {
		this.fgiID = fgiID;
	}
	public String getFgiDescription() {
		return fgiDescription;
	}
	public void setFgiDescription(String fgiDescription) {
		this.fgiDescription = fgiDescription;
	}
	public BeerView getBeer() {
		return beer;
	}
	public void setBeer(BeerView beer) {
		this.beer = beer;
	}
	public PackageType getPackageType() {
		return packageType;
	}
	public void setPackageType(PackageType packageType) {
		this.packageType = packageType;
	}
	public long getFgiQtyOnHand() {
		return fgiQtyOnHand;
	}
	public void setFgiQtyOnHand(long fgiQtyOnHand) {
		this.fgiQtyOnHand = fgiQtyOnHand;
	}
	public long getVersion() {
		return version;
	}
	public void setVersion(long version) {
		this.version = version;
	}
	public double getServingVesselVolume() {
		return servingVesselVolume;
	}
	public void setServingVesselVolume(double servingVesselVolume) {
		this.servingVesselVolume = servingVesselVolume;
	}
	public int getPendingQty() {
		return pendingQty;
	}
	public void setPendingQty(int pendingQty) {
		this.pendingQty = pendingQty;
	}
	public double getFgiPrice() {
		return fgiPrice;
	}
	public void setFgiPrice(double fgiPrice) {
		this.fgiPrice = fgiPrice;
	}
    
    public String getDisplay(){
        return this.fgiDescription + " (" + Integer.toString(fgiID) + ")";
    }
}
